<?php
$isWindow = is_windows();
if ($isWindow) {
    $file = "G:\\PHPstudy\\WWW\\wx.shidao.com\\public\\easywechat.log";
} else {
    $file = base_path('easywechat.log');
}
return [
    'debug'     => true,
    'app_id'    => env('WX_APP_ID'),
    'secret'    => env('WX_SECRET'),
    'token'     => env('WX_TOKEN'),
    'aes_key'   => env('WX_AES_KEY'), // 可选
    'log' => [
        'level' => 'debug',
        'permission' => 0777,
        'file' => $file, // XXX: 绝对路径！！！！
    ],
    'oauth' => [
        'scopes'    => ['snsapi_userinfo'],
        'callback'  => '/wx-api/user/user_info',
    ],
    "mini"=>[
        "appId"     => "wxb8842464f6dac6b2",
        "appSecret" => "b6bad89a07ab728beaf6c6c74feab2e0",
        "matchId"   => "1522355771",
        "matchKey"  => "d345ddfadn58dknm34686edchvrmkad3"
    ]
];